package model.fizzbuzz;

/**
 * Created by andreas on 20.04.14.
 */
public class FizzGenerator {
    public String generateString(int input) {
        if (input % 15 == 0) {
            return "FizzBuzz";
        }
        if (input % 3 == 0) {
            return "Fizz";
        }
        if (input % 5 == 0) {
            return "Buzz";
        }
        return input + "";
    }
}
